package com.mayikt.observer.impl;


import com.mayikt.observer.ObServer;

public class UserObServer implements ObServer {

    private String name;

    public UserObServer(String name) {
        this.name = name;
    }
    public void update(String message) {
        System.out.println(name + "，老师收到微信服务通知的消息：" + message);
    }
}
